1 #import "BBBackgroundView.h"
3 @implementation BBBackgroundView
5 - (void)drawRect:(NSRect)rect {
8 NSBezierPath *roundRect = [NSBezierPath bezierPath];
10 [roundRect appendBezierPathWithRoundedRectangle:rect withRadius:8];
13 BOOL darkMode = [[NSUserDefaults standardUserDefaults] boolForKey:@"QSFlatBezelDarkMode"];
15 [[NSColor colorWithRed:.1 green:.1 blue:.1 alpha:.99] set];
17 [[NSColor colorWithRed:1 green:1 blue:1 alpha:.99] set];
21 [super drawRect:rect];